package com.xuan.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xuan.model.entity.User;
import com.xuan.model.respons.ResultBody;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Axuan
 * @since 2021-07-09
 */
public interface IUserService extends IService<User> {

    String login(String username);

    boolean register(User user);

    ResultBody chekUsername(String username);

    ResultBody savaUser(User user);

    ResultBody deleteByUsername(String username);

    ResultBody resetPassword(User user);
}
